package com.wowudi.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wowudi.domain.Drug;
import org.apache.ibatis.annotations.*;
import org.springframework.stereotype.Repository;

@Mapper
public interface DrugMapper extends BaseMapper<Drug> {


    @Update("update drug set d_status=#{status} where d_id=#{id}")
    public boolean updateStatusById(@Param("status") String status,@Param("id") int id);
}